{OVERALL_HEADER}
    <div id="maincontainer">
        <div id="newsbar">
            <div class="newstitle">
                {LANG_SIGNUP}
            </div>
        </div>
    </div>
	<div class="aclear"></div>
	<div id="container">
        <div id="headerbar"></div>
            <div class="aclear"></div>
            <div id="main">
                <div class="maincontent">
                    <form name="form1" id="form1" method="post" action="signup.php" style="padding:0px;margin:0px;">
                          <table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="180" valign="top" style="padding-top:5px;"><strong>{LANG_USERNAME}</strong></td>
                              <td><input name="username" type="text" id="username" style="width:200px;" onchange="changeuser(this,'avail');" onkeypress="changeuser(this,'avail');" onkeyUp="changeuser(this,'avail');" value="{USERNAME_FIELD}" maxlength="16">
                                <br>
                                <input type="button" name="avail" id="avail" value="check for availability" onclick="checkavail('username');" style="width:200px;" disabled><br>
                                <span id="availres"></span>
                                <br>
                              <span class="error">{USERNAME_ERROR}</span></td>
                            </tr>
                            <tr>
                              <td valign="top">&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <td valign="top" style="padding-top:5px;"><strong>{LANG_PASSWORD}</strong></td>
                              <td><input name="password" type="password" id="password" style="width:200px;" maxlength="16"></td>
                            </tr>
                            <tr>
                              <td valign="top" style="padding-top:5px;"><strong>{LANG_CONPASS}</strong></td>
                              <td><input name="password2" type="password" id="password2" style="width:200px;" maxlength="16"><br>
                              <span class="error">{PASSWORD_ERROR}</span></td>
                            </tr>
                            <tr>
                              <td valign="top">&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                            <tr>
                              <td valign="top" style="padding-top:5px;"><strong>{LANG_EMAILAD}</strong></td>
                              <td><input name="email" type="text" id="email" style="width:200px;" value="{EMAIL_FIELD}" maxlength="255"><br>
                              <span class="error">{EMAIL_ERROR}</span></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                            IF("{SECURITY_CODE}"=="1"){
                            <tr>
                              <td valign="top"><strong>Security Word </strong></td>
                              <td height="55" valign="top"><img src="seccode.php"></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td><input name="security_code" type="text" id="security_code"></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td>Type in the word exactly as you see it above<br><span class="error">{SECURITY_ERROR}</span></td>
                            </tr>
                            <tr>
                              <td>&nbsp;</td>
                              <td>&nbsp;</td>
                            </tr>
                            {:IF}
                            <tr><td colspan="2"><table  border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><input name="agree" type="checkbox" value="1"></td>
                        <td>{LANG_IAGREE} <a href="#" onClick="openWindow('{SITE_URL}html.php?id=terms','terms','width=300,height=500,scrollbars=yes')">{LANG_TERMS}</a> {LANG_FORUSING} {SITE_TITLE}<br>
                          <span class="error">{AGREE_ERROR}</span></td>
                      </tr>
                    </table></td></tr>
                    <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
                            <tr align="center">
                              <td colspan="2"><input type="submit" name="Submit" value="{LANG_SIGNUP}"></td>
                              </tr>
                          </table>
                       </form>
                </div>
            </div>
        </div>
        <div class="aclear">
        </div>
    </div>
{OVERALL_FOOTER}